* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
}
html {
    font-size: 16px;
}

.carousel-inner {
    width: 100%;
    img {
        width: 100%;
    }
}
.box {
    // width: 1000px;
    height: 50px;
    background-color: #222;
    .container {
        padding: 0;

        // 导航栏
        .navbar-header {
            .navbar-brand {
                padding: 0 15px;
                display: flex;
                align-items: center;
            }
        }
        .navbar {
            border: none;
            margin-bottom: 0;
        }
        .navbar-wrapper {
            .navbar-brand {
                padding: 0 15px;
                > img {
                    width: 130px;
                }
            }
        }
    }
}

main {
    .c_p {
        .c_c {
            position: relative;
            img {
                margin-top: 3.75rem;
                margin-left: -1.475rem;
                position: absolute;
            }
        }
        h3 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 0;
            height: 0;
            position: relative;
            // background-color: #e14738;
            border-top: 6rem solid red;
            border-right: 20px solid red;
            border-bottom: 20px solid transparent;
            border-left: 20px solid red;

            p {
                position: absolute;
                top: -70px;
                left: -10px;
                line-height: 1.3;
                color: #fff;
                //    text-align: center;
            }
        }
        h1,
        h5 {
            text-align: right;
            line-height: 2.5;
        }
        a {
            img {
                margin: 0.9375rem 0;
                width: 100%;
                border-radius: 0.625rem;
            }
        }
    }

    .c_p1 {
        h1,
        h5 {
            // text-align: right;
            line-height: 2.5;
        }
        a {
            img {
                margin: 0.9375rem 0;
                width: 100%;
                border-radius: 0.625rem;
            }
        }
        .logo {
            margin-top: 6.25rem;
            margin-bottom: 5rem;
        }
    }
}

.c_p2 {
    h1 {
        margin: 0 1.25rem;
    }
    a {
        margin: 1.875rem 0 ;
        text-decoration: none;
        color: #000;
        img {
            width: 100%;
            border-radius: 0.625rem;
        }
    }
    p {
        margin: 0;
        margin-top: 10px;
        text-align: center;
    }
}


.c_p5 {
    background-color: #3b3b3b;
    a,
    p {
      margin: 10px 0;
      color: #75767b;
    }
    div {
      position: relative;
    }
    ul:nth-of-type(1) {
      margin: 1.25rem 0;
    }
    ul:nth-of-type(2) {
      position: relative;
      display: flex;
      justify-content: space-evenly;
      margin: 1.875rem 0;
    }
    .logo_1 {
      width: 6.25rem;
      position: absolute;
      margin: -130px 0 0 0;
      display: none;
    }
    img:first-child {
      &:hover + img {
        display: block;
      }
    }
  
    img:nth-child(3) {
      &:hover + img {
        display: block;
      }
    }
    img:nth-child(5) {
      &:hover + img {
        display: block;
      }
    }
  }
// ipad端 >= 768px   < 992px
@media screen and (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 16px;
    }
    .box {
        height: 100%;
        .navbar-wrapper {
            .navbar {
                margin-bottom: 0;
            }
            // 语言
            #navbar {
                .dropdown {
                    position: absolute;
                    top: 0;
                    right: 50px;
                }
            }
        }
    }
}

// 移动端 < 768px
@media screen and (max-width: 765px) {
    .box {
        width: 100%;
        height: 100%;
        .navbar-wrapper {
            .navbar {
                margin-bottom: 0;
            }
            // 语言
            #navbar {
                position: absolute;
                width: 100vw;
                background-color: #222;
                .dropdown {
                }
            }
        }
    }

.c_p {
    h1 {
        font-size: 1.125rem;
        margin:.3125rem 0;
    }
    h5 {
        margin: 0;
        font-size: .75rem;
    }
    h1,h5 {
        line-height: 1.5 !important;
    }
}
.c_p1 {
    h1 {
        font-size: 1.125rem;
        margin:.3125rem 0;
    }
    h5 {
        margin: 0;
        font-size: .75rem;
    }
    h1,h5 {
        line-height: 1.5 !important;
    }
}
.c_p2 {
    h1 {
        font-size: 1.125rem;
        margin:.3125rem 0;
    }
    a , p {
        margin: .1875rem 0;
        font-size: .75rem;
    }

}

.c_p5 {

    a ,p  {
      font-size: 12px;
      margin: .3125rem 0;
    }
 
    ul {
      margin: 0 !important;
    }
    ul:nth-child(2) {
      margin-top: .625rem !important;
    }
  }
}
